package ioc;

/**
 * @author vivi
 * @description
 * @date 2024/5/19
 */
public class Framework {
    private Bottom bottom;
    public Framework(Bottom bottom) {
        this.bottom = bottom;
    }
    //依赖底盘
    public void init() {
        System.out.println("执行了 framework init方法");
        bottom.init();
    }
}
